//
//  ChatBoxVC.h
//  ChangChat
//
//  Created by Cocoa on 2019/8/23.
//  Copyright © 2019 yibai. All rights reserved.
//

#import "BaseVC.h"
#import "ChatBoxView.h"
#import "MsgModel.h"
#import "SessionItem.h"

@class ChatBoxVC;
@protocol ChatBoxDelegate <NSObject>

- (void)chatBoxVC:(ChatBoxVC *_Nullable)boxVC sendMsg:(MsgItem *_Nonnull)msg;
@optional
- (void)chatBoxVC:(ChatBoxVC *_Nullable)boxVC didChangeChatBoxHeight:(CGFloat)boxHeight;

@end

NS_ASSUME_NONNULL_BEGIN

@interface ChatBoxVC : BaseVC

@property (nonatomic, weak) id<ChatBoxDelegate> delegate;
@property (nonatomic, strong) SessionItem *session;
@property (nonatomic, strong) FriendItem *friendItem;


@end

NS_ASSUME_NONNULL_END
